package com.campuscrowdsourcing.server.mapper;

import com.campuscrowdsourcing.server.domain.entity.Team;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 团队信息	提示：	money、score自动填充0 Mapper 接口
 * </p>
 *
 * @author Xinyuan Zhao
 * @since 2023-03-15
 */
public interface TeamMapper extends BaseMapper<Team> {

    long findteamCount(Integer id);

    int getRoleByTeamId(Integer userId, Integer teamId);
}
